Server: Cleanup
Refactor|Client|Server: Split dd_init to main_server and main_client

Both applications now have their own main() functions.