Adding merlin module and adding inheritance

- new Tools class