cli parser + basic config validation

Also changed the conf file location, why use a directory for a single conf file?