added rspec testing, added api endpoints for markers