small tweaks
bundling after the server starts. moved the routes outside the server