Implemented initial version of text component