Separate non-core commands into their own modules.  Remove db.go.