Created a unit tester and refactored code accordingly to include a runner file