working but very bad mutliword multiattribute table
refactoring
various improvements
database config phumfitting