updated readme with config stuff
Added register define