Improving the Performance and Energy Efficiency for Mobile Cloud Computing