made some quick additions and changes to the api, started writing
interface for front end people