add notebook layout

No need to merge it now, i will add more work soon.

Just pushed for review.