myblocks base

This is getting a bit too large, so consider this the beginning of myblocks.

All tests pass.