added basic handling of active tasks
Tasks objects now include their version
the command handler has now acces to a complete query