Loads operations from database

Either by command or when the queue is emptied
Merge pull request #6 from inf0rmer/read-from-db

Loads operations from database