[code] Closed #3. Added constants for messages and an error logging system based on error log levels.