added foursquare api, added nested template and starting foursquare integration