Changed API and application to use RESTful-style URLs