Remove duplicate code
Merge pull request #2 from syseleven/issues-1

[Insight] Database queries should use parameter binding