added a lot of api endpoints, shit almost is in place