Added some documentation comments. Cleaned up some code.
Changed all Thread.currentThread().sleep() to Thread.sleep().
Added package util and moved RegistryService into it.
Fixed msges. Added medal poll functionality.