Added multithread; Add mappings for commandmanager; added startup thread;