Included support for CMake and fixed src directory.
Removed the debugging state from the bind. The debugging state is now passed down from the server.
Fixed plenty of code formatting inconsistencies. Removed checking if state initialization succeeded or not.
Updated code to keep in line with server changes.
Removed redundant copies of the license.