Added application registering to separate apps from framework