Initial implementation of command-line arguments parsing. Still not a daemon.