restructures modules and creates http server module
creates configure functions module