added class file, updated readme