started static pages upload refactoring