added basic GET/POST functionality and automatic root node creation