move geolocation code to models and spec folder and add rest-client to gemset