queue daemon working

The first version of the queue daemon has been built.
It monitors a queue file and executes water commands.
And it supports a variable number of groups.