add main layout for knowledges and notes
compeleted base features of notes