add src and core file