Sevice structure and daemonization.