Added LuaDB interface and some updates to CharView