Added requirements.txt file.
Install requirements before running tests.
Added getters for spacing and origin.