Implemented the kill and residentlist commands