Functions moved to separate file.
Printing of basic information about reporitory status added.