Using table to define a layout.

Signed-off-by: cocolekat <cocolekat@gmail.com>