fiDB.js

fiDB prototype and constructor