[griff] committing major changes. sql, git, find