simpleapp with php and mysql using oop aproach