Changed all public variables within class apart from Main to private and added a method (if needed) returning their values. Added opacity and selection to triangles. Cleaned up and formatted files