added home route, notes route, notecard directive