Added a document describing the network protocol.
Added a simple event management system.
Added the missing LICENSE file.
Switch from Gradle to Maven as the build system.