First version of the notes server

Includes API and very basic views.