Codebase stable, more basic operations done by libgit2

In particular, init, add and update are mostly done