change directory core to api. add blog api. add welcome page