Merge pull request #8 from Tornaldo/torDB

Tor db
Extended and refactored DB-code
Merge branch 'master' of https://github.com/Tornaldo/Corsane into torDB