first minimal core of the package with tests

Signed-off-by: Luca Lianas <lucalianas@gmail.com>