Create smMainCommand