Made subscriptions use keys.
General clean up and refactoring.
Updated Nu documentation.