Layout works.

Proper layout and spacing is implemented. The only thing not implemented
is drawing on the canvas.