Added the ability to update local repository with remote repository data
Code cleanup: changed to use the repository manager class