Added missing PHPDoc
Simplified app, removed unused code