Adding support for documentation generation and added some documentation to the main readme.