don't use leading slash to be consistent with Cgit
refactor to be just an in memory git index

initialising the index from a git object database
moved into seperate module
update docs
make storage a local var