includes lockfile module. Daemon module optional