Adds SQLite simple queuing system, and fixes the multiple spawns of serv...

...ice.