Major refactor of project to use BouncyCastle/Java crypto libs

- Removed a lot of code
- Quite a bit faster now
Add tests
Clean up user ns, add some notes