Add basic active and deactive, no unit test yet.

Signed-off-by: crynobone <crynobone@gmail.com>