Versioned API and added API rspec tests