Object Layer on Top of PHP Functions