Command pattern of framework implemented