Multi-functional distributed computing