Added Module Functionality

Added the functionality to join the domain and reboot the server.