create pins
cleaned up pins_controller. Put the API stuff with json out
also deletet api stuff from views