notes api folder structure