Added pidfile control. When the pidfile exists, it warns and exists.
Added configuration file, in order to pass parameters. Using ConfigParser.