fix minor bugs
make processing more Object Oriented
update sandbox with modular version of processing code