Added API documentation.
Added default port.