Framework change

Changed the framework and added some custom PHP scripts