improved constructor fn and used lookup instead switch case
updated packages
removed old config data