Create helper constructor functions

to avoid using new() while defining components.