Update for NGD 2014

90% of the client rewritten
Updated with some new functions the server