Added requirements file and fixed a few bugs