utils module; upload views; code refactoring