Added unix exit codes and refactors colors