more work on the dispatch  center

I organized the files into different folders, and I implemented a few
function in the dispatch center