Random component

Hi guys,

This PR is more to ask for a code review. My main doubt is how should I handle a component that actually doesn't has an in port. Passing null like I'm doing, or there's another way?

Thanks in advance