Implemented create repo and init refactor