initial version of simpleImpl

* with some basic tests
* new restriction: class must be static
* some refactoring