Better way of initialising sub modules