Small code style tweak
Move api to a subproject and allow it and its sources to be uploaded to maven
Force netty 4.0.21 to be used to fix a small memory leak