Restored the app.register functionality.  This closes #66