Working on fixing the set log level bug.
Added more documentation.
Formating.