Implemented the index page and rspec tests