scaffolding and setting up server