Multi client

Basic features of multi client are implemented.