Adding old code and gitignore file

Adding code from 2011 and a new .gitignore file for ignoring eclipse
meta-data files.