refactored NXCGrid, gridutils. removed namespaces, renamed \classes\NXCGrid