adding repo model

change config for coveralls/travis compatibility.