Moved cmd module to core, because we want to list the commands based on succesfully loaded modules