Finished implementing all API methods, have not tested anything yet.