Removed attachment table from schema as it was never supposed to be added
Got the upload page fully functional

Had to make additional Javascript changes to account for the new JSON format from the previous commit