Introduce Bolt\Application class to avoid usage of globals