add namespace table
remove unneeded file extensions
add fields table