Add dependency for tests.
Split support.py. Create proper class. Add unit tests.
And a makefile