documentation mostly

reverted decisions about settings going into database file. will stick
to the txt file that is easily edited but change scheme. no longer using
a seperate boolean for each db type, using a dbid instead which
corresponds to each database manager derrivative. some documentation was
done, not much else really.