Moved service code into a 'server' folder