Added the files with most of the pertinent code.