clean up extra files, add routes hack, inherit main_app layout