Refactoring, + examples and fixed py3 bug

Refactored to divide up the monster py file.  Fixed some compatibility issues with py3.  Also, I added and tested a directory of examples.