Updated alpha.php and AlphaController.php for application scaling