Creating a Factory to make it easier to instantiate components, keeping developer's preferences centralized