Migrate static resources

1. Move static resources out of webapp directory.
2. Configure submodule settings.