add config object to constructor function
add config options to test
add test case for error handling
add compiled files