Towards a mathematical theory of complex socio-economical systems by functional subsystems representation