Adds constructable and upgradeable machinery, fixes the RPED, other minor fixes