Completely refactored the project to enable testing and wrote tests