added a service calculate the condition monitor
wired up spirit condition monitor to rules, controller, and views