remove tracking object files and output files
refactored code to look more organized