refactor blog structure