moved definitions of TYPES DEPTS and ITEMS to settings, closes #190