DB Rewritten Dispatch Service to do more checking and Cleaner algorhythm with more error prevention measures.

This however breaks the current test environment for the moment.