added commandFactory skeleton
variable names are changed later