Initial Processing Scripts

And fixed a bug with looking up patients
Fixed error on battery creation
starting to get stuff on the page!

First signs of processing script working. Implemented the background
and have javascript talking to Processing!