Refactor to use Builder class

This makes changing the constructor (eg, giving it a grid size and
details) easier, since I don’t have to change every test.