Edited some things. Added some new methodes for logger class.