document and dep injection
document repository code
sqlite3 exits with 2 if OK?