Change code to library structure
Add original "main test code" to tests

in order to write new tests in the current
style you need to use the ginkgo framework
but normal tests are also possible
Prepare namespace for pull request