update gitignore
add in setuptools
add in testing framework
fix bug in path appending
fix typo in json config