Added example config file and implemented arg parse