added string

added main string for text file and started quit function