Organized code and db_dict