Cleaned up and documented parseBindingDB and parseDB