Add Contract class and DBHelper class
Store the notes in DB and update BaseAdapter to CursorAdapter