Added documentation and API guidelines