add core codes
Merge pull request #1 from Raysmond/raysmond

add core codes