Add main class for dcclient.