AppInit to initialize the php app and adding HTML