Started work on DCS

added connection processing