PHP (OOP) and SQL based content management system