renaming 'main' app to 'hub' for compatibility with kc