PHP controllers made simple