Client side API call routing

Create factory to handle all client side API calls.
Temporary workaround for new photo creation route.
Fix bug by adding thread to users on thread creation.
Create new route for populating all thread data.