Code cleanup: organized imports
Added the ability to update local repository with remote repository data