Development of a flexible MAPMT photon-counting read-out system