added config inc
added config sample
added exception class