split install and config into own classes