added CircularBuffer into enThread class as a consumer buffer
fixed header defin error