Added optional container parameter for Application instead of constant #container