Move notebook widget from view to its own file