Adding cache constructor & split_address method