Modified exmplae in readme and fixed few problems