Finished initial porting of library.  There are definitely going to be bugs, and I need to update the testbed now with particle capabilities and tests