db config fixes, more shell commands
Updated docs, minor bugfixes