Reworked logger and added colors to log