Initial check-in of the main daemon file.