move icore interface to coreplugin

prepared for markdown plugin