Added user class, features, user message processing, and context switch