Initial version, working - but no PID file creation yet