Refactored everything that was in default.rb into separate ruby files.