PHP Bot that is extendable through classes