Service layer can insert and fetch. Also added ModelFactory.