Fix "role ... does not exist"
Extend site config params
Clean up code, add comments
Improve readme