New class better organize, rewrite of classnotebook