Moved preinitializer code to application.rb for app configuration. Added occupation data to Inputs.