fixes for definition creation
added config option to globally disable pattern checks for node requests
moved constants to a seperate module
added serialization functions to data objects
Merging server changes