Add API reference and examples documentation

will be  hosted on rtd