Add basic hex grid, split into core and hex libraries.