add selftest script
add sh postfix
add templates for reading/writing table columns
update database
switch link target to db3x