FARCOS: A versatile and modular Femtoscopy Array for Correlations and Spectroscopy