libs and init setup