Started porting blocks and items to use scala's composition.

Moved container related things to core.