Added resources support for create note.
Using external sqlalchemy