Moved CommandStack to separate library