refactor datil page to use meta data. Editing not enabled yet. minor changes to main3