create notes controller with routes