Fixes SQL Injection and XSS Vulnerabilities.
Using object oriented style.
Merge pull request #1 from SiebelsTim/master

Fixes SQL Injection and XSS Vulnerabilities.