Finished implementation of JavaEventManager. Still need to write the tests for it.