init project directory and views refactor