initialize module with current instance