Add StarEnum class to encapsulate star generation logic

The algorithm to generate stars had been embedded in drawstarback()
which had disallowed other sources to use it.  It had been not a problem
since the random stars are generated for only displaying purpose, but
recently we want to add more functionality to the random stars.
Add name labels to the randomly generated stars

The name is fixed to a constant test string, but it should be randomly
generated.