Added original codebase from 2010