Fully operational OOPHP code for my website