Adding WxApplication class
Using illuminate/container and instantiating WxApplication