added basic API docs