removed custom cors, use one from package
refactored requires styles
get rid of http
removed configure() function
streaming logs and remove sinon
use port variable
apply auth middleware