Now getting pins within viewable area of map in main.

Also updated /pin route for cleanup and to handle data from client for
polygon