moved source files to src and renamed lastError and errorToHuman