extracted all source code into one single file