use the accessors that are already defined in Sql class.
split the Hooks class to Events, Scopes, and Mutants; Hooks is a facade to these classes.
removed method that are moved to Mutants class.
introduced static inject method; use static methods in ActiveRecord when accessing db.
add missing reset in update.