moved import/export core code to inc
Signed-off-by:KProvance <kevin.provance@gmail.com>