moving config.serve_static_assets into APplication class