updated
Added contacts base classes for library v2.