Added module, renamed component and made directory variable