rewrite and simplify
some refactoring
better resource API
few more tweaks
fix to_param for nestled params
tweak readme
rc1
add tests
add a bunch more tests
add more tests
remove unused var