End of sprint1

Server side code