added Interface and improved PHPDoc