Added support for another  pass in __construct from Application class