added a lot of functions, the base skeleton of the backend is functioning well as of now. Still need to add the update functions and a few more delete functions.