Energy Aware Offloading in Cloud Assisted Mobile Environment