some test some methods
refactoring, adding main file and tested