documented error on insert, added default database location, configurable on compile time