wip
Use SQL instead of AR to keey models in sync