Rearranging files for forming 2 different executables