Using factory function to get new app instead of creating it in geordi's __init__.py