Add readme, fix higher order functions