add service for managing persiting a model
improved sqls