Initial refactor of Note into a separate service.

Still need to create Remote service to extract networking code from the NoteService.