That is not good.
Hopefully it will be a simple repair from here on for ya.
Mate, Always disconnect the Battery if you are going to play around with 'Car electrics' (here after called Vitz)
It's a good rule of thumb, not always nessesary but anything with a computer it's better/safer to.
BTW If you get too many Vitz you'll turn green, bust out of your shirt and go and harrass criminals when you least expect it.