Start controller refactor

--> move the repo files create method out of the controller into a class method. 
--> move the repo_exists? helper out of application helper into repo helper