updated readme, refactor, style to match sparrow