Updated repo class to read from config file

Fixed issue #2