Update DB methods and add mechanics.rb