Added most SQL queries
Merge branch 'master' of https://github.com/sebastianv89/hwsec