Algorithms and Software for Development of Modular Vehicle Architectures