Added Text field class and enhanced documentation