move projects factory from in-memory to json resource