Setup tests
Add tests, remove useless file, refactor the main class