cleaned up copy-dependencies phase
minor refactorings and added normaliztion scheme (unused for now)