An open source environment for operating custom confocal microscopy setups