an attempt to make a RESTful Web API. (not really there yet...)