Reorganized code into directories by category of each file's type.