Add framework for source fixes, dependency detection