Adding php folder, entity class definition and loadPost function definition (pending to fix)