configure application through Application.__construct