Add building blocks

Kernels are mostly done except reduction
Resizers are done, but too low level to use directly
Some basic tests have been added