make common and converter as class too.