Added copyright notices, removed old phpdoc