building up API

Signed-off-by: DrWhatNoName <drwhat@cryto.net>