Updated to latest version of documentation and wireframes; now includes a PHPDoc section