Changed the coordinate retrieval system

Added grid object to store variables and contain helper methods.
Changed common Hex variables to be static variables of the object.