added notes controller; cleaned up some model messiness