Skeletons functions defined

all function that need for a minimal implementation are defined, in the future
we might also need the buffer functions.