Added som doc
Moved all instance variables in settings hash