Controller update commit

Added singleton connection into overall controller

Plans is to add another controller for parsing query and command
strings. This way the operation controller and query controller (which
are not reliant on each other are properly separated as interfaces that
can be implemented upon a gui separately)

All web operations and database 'talking' have been migrated into ops
controller till this point