- Refactored library to have everything under a namespaced module
- added licensing comments