Fix parser not to expand partial inline markups
New file: Replacement of Database.hs
Add some methods be compatible with old database to EntryDatabase