adding config methods class