change endpoint integration to asynctask

refactoring google elevation api integration