fixed #107

Migrated settings from dictionary indices to a class