refactoring of config/initializer/beam.rb
initial version of UploadControllerMethods, need to relook it further