I probably shouldn't use 'filter' as variable name
clean up some minor styling
move documentation to a readme
add MIT license