Significantly restructured code

I've decided to go with just a fix style and try to keep the rest of
the code relatively separate. I've written some cmake files and test
code so that I can independently compile and test the library separate
from the lammps fix. We'll see how this approach goes....