Building out the frame for the client.
Moving API to JSON only web services.