move awareness functionality out of main thread class