moved model into a separate autoload.rb file