Restructured for API separation.
Finished off the api for get and post. Incorporated api into website.