initial core work
add loger to core