api json added, gmaps key allowing iphone users to use map and general refacter