[MIN] moved core.db.rb to modules.rb.models
temp