added migration.rb in lib