Removed unused code. Added shebang notation at the top of each file.