Major refactoring to use RESTful routes and created models. Basic send and receive functionality working