created database schema and included rspec for testing