rename module 'api' to 'core'