breaking up the server file into smaller modules