added action constants. smoothed out api. fleshed out readme.