Added first version of client and slave.