creating an order base controller