add grid updatability (semi-working)

move all state classes to state package (oops)
rename image variables with prefix img
add getRow() and getColumn() to help:
implement a way to get grid positions and update them (rotate!) sort
of..