the basics for a node based API thingie