fully functional rest server, ready to hook up with front end