Moving installer code to own module