Implemented a nicer API with dynamically created scope names and added documentation.
Updated documentation/README.