Added Factory to create processes