add struct.rb: Data type
Update urlList.rb, Add redirect.js: add error redirect