add datamodel.rb and unit testing