added remove functions for contact.py
added remove functions for contact.py