Note class implementation