fixed some of the errors and updated requirements.txt