A centralized solution for bus reservation