Added Note class, adapted to add note form