Added version comparison function to util
First working server.