Moved most of the database and path recording code up to the ActivityRecognition service.  Something broke and I'm stupid apparently.
Re-wrote how services ar handled.  The first ActivityRecognition service starts the others and then waits for messages from them.  All the business logic has been moved into this class.