change Core,json and read functions...
add temlates
add temlates
test