fixed core cases, added examples, updated readme