Rough implementation of the methods to test the concept. Very basic tests.