updated readme, fixed some issues and added examples