Added case statements to everything - for customizable isntall

also experimented with variables for interfaces