changed structure, moved methods to dbc_data.rb