Removed the redundant  php files in the lib folder

The program logic has been migrated to the model files in the models
directory