Added Subscriptions

I added a basic subscription system to index.coffee. This system is NOT
COMPLETE and is NOT READY FOR PRODUCTION! I’m adding it now as a proof
of concept, but it needs to be significantly refactored.