make README generic
fix handling of local
fix bad variable
add example app