renamed two functions so that they are local to this module.
this replaces our main loop.
just want to backup before I move stuff around again.
moved source files out of project root.
added two things to TODO list.