Add rspec for testing
Add db configuration