added default values for db init
created model base class