Added verification of non-empty name for adding rlt classes
Modified instanciation of class object