added class properties and tennants also edited gui class and main class