Added infection and visibility features. Tested them. They work.

Visibility and infection features are added and tested.