fixed app configuration, added platform hook class