Created screenElements class, changed hierarchy