initializing interface through module