added a category factory
removed fatories folder