Split out and fix database data

The database data now is in separate files and is flake8 happy
Also added some missing components of some attribute types