Move MessageQueue to models package