Implemented the cleaning of the build output folder.
Cleaned up the tests a bit.
Removed an unused file.