reform file structure
add some view templates