init: Rename to repo init and refactor

This patch is a result of me going through the code and refactoring/rewriting it
where I fould it suitable so that the code and the output is more consistent
with the rest of the code base.

Change-Id: 014615c890