added some RESTfulness to ais