RESTify the DB, make editor use that interface... improved editor a bit.