most of rest api & documentation should now be finished