added level model and seeds
added level model and seeds
refactor to use lib/utilities.rb
added tests for level
fix test