adding new example, moving dtable to core module, some fixes