- fixed spelling, PHPDoc , format, minor errors, code cleanup