command queue into singleton class