added note model, with rudimentary permalink creation (i.e., no accounting for duplicate permalinks).