code formatting
getFactory removed from abstract, code formatting