refactored the test files and renamed the main program module