Added errorcodes.h (detailed error Reporting Some problems persists