initialization of libraryes and bean class loader in separated thread