handler main functionality

handler - init / config / relations with clients / event rerouting and
firing
basic_client example