Base Code for Object Oriented PHP