implemented first client version

added simulation with client