created textWidget as a new class, moved horizon to gui package