Feature better code reviews

Some tidying up and basic func for the git api.