refactor & add DbBaseClass
update proj file