COMMIT!
Added support for daemon and split the file, newbie-style!