Use thimble

WIP, with some review points so it doesn't get too off-track.
Docstrings will be nice :)