Some improvements on the code and structure

* Code style, spaces and other improvements
* All tests passing
* Bin cleaning
* test/case dir was created to maintain files for cases isolated
I don't see a good reason for this debug. The file is already tested.