ditch php4 constructor, code cleanup

ditch php4 constructor, code cleanup