I'm working on Storytella[0] which is a writing app aimed at self-publishing authors. I'm trying to bring more developer-like tools to authors in a simple way, so there's an entity system (think, database) and entities can be inserted into body text using an IDE-style context menu.