Cleanup some messy code

Signed-off-by: crynobone <crynobone@gmail.com>
Add code sniffer using PSR-1 standard

Signed-off-by: crynobone <crynobone@gmail.com>
Send parameters to view.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge branch '2.0'