Fixed minor errors in view.
Fixed routing
Fixed PHPDoc
Added config getter and setter
Minor changes in PHPDoc.