second refactoring of API

Signed-off-by: Christian Lüthold <biocodr@gmail.com>
test project adopted

Signed-off-by: Christian Lüthold <biocodr@gmail.com>