further refactoring, now have a static folder for serving the app