Move message process to new class