A vanilla php template inheritance class