change api to make them RESTful and emulate os file nav