remove load files iin class constructor

remove loads in constructor