Added models and rspec testing