fix bug with persisting losing foreign keys
introduce RepoDSL and new quick finder syntax