Update App.php

Changed App from purely static construct