Fix default vars
Fix lib name
Add modes file for central managing