core

rename db.class to db.core