refactored Settings class
implemented vertex deletion on delete key