Chaned layman state functions to conform to other states.

Changed added to present and deleted to absent
Added virtual to layman state
Added code for test interface to layman state