add exception class
add configuration class