move dandelion api module to core module