Moved files

Moved files from blog. Still needs code cleanup.