Added license headers, java docs, and refactored the activate()/deactivate() methods.
Removed json-simple reference and updated to use jackson library.