add some source documentation

to domain controller and preferences form