adding damonize and manage_services