Near complete basic notebook implementation with menu