Basic Framework for php OOP