added whole bunch of API endpoints