add lib folder for core modules