Added API documentation
Added stubs for some documentation