Added framework for managing contacts