renamings, better dll interface