Moved main trader to trader controller