Moved threading into command stage. Added timer stub.