Merge pull request #707 from leider/master

changed the sub-apps to expose an object instead of a function