add common directory, small f06 database fixes