added class-based procedures
added the file with examples