Cleaned up and directed to new open-source project.