Simplified Gateway index.php
Changed Bootstrap

Moved Application check into the bootstrap
Added Application Optional PathSet
Corrected Controller & Model Path