Added license header and remvoed comments
STREAMS-121 | Change volatile booleans to AtomicBooleans per pull request feedbask