testing and bugfixing

  - helper file_exists
  - basic testing in main.cpp
  - checking config file path