Fixed notes model to not have a 'class' comlumn. Yay for reserved words!