added some features
added classes
added rotation setting into overlay class