Start of backend

Back end done, missing connection with front end