Deleted unused messageFactory file
Fixed linting