use internal exceptions instead of ValueError
production config in the text file
add travis-ci config file