setting up to work with py2exe.

Needs some cleanup