Moved repositories file to separate built project
Fixed compile errors