Extracted post store method to new factory class.