Add module docstrings and tidy up useless files.
Cache the API and schema for objects accessing the same resource type.