Rewrite part of the code and this is a compilable prorotype
Adding more commentted out sections back
Restoring back to the state that can create file
Writing Metapage to the file, with MetaInfo as its content
Write two meta pages to the head of db file