Splits dmp-client and gui

This way, other clients could be created that also use DmpClient.