added config files into project directory, further refined command line input validation