async load libs and app logic