Structure of server code, added basic scripts