code formatting
imported used classes
fixed or added PHPDoc stuff