refactor notes controller
model work
add notes views
fix routes
misc