Deleted unnessary files and notes default type is set to text