Added repository recreation app (copies a repository and stores in latest format compressed)
fixed compilation errors