Fixed #3 - Moved main code out of `cli.py`

Also created class structure for `ShapeGrid` objects, and initial subclass
for `HexagonGrid`.
Renamed `binshapes` to `shapegrids`