started work on controller logic
added client dispatcher