Generated migration files and added class to main.rb