change Config import to use bearlib and add requirements.txt