fixing stuff and adding in the lib folder