Stronger implementation of metadata for blocks. added Stairs example.