E-bike - needs quite a lot of work (Pendeen TR19)

I was given a broken 'Scrambler Mark 2' 19" e-bike some time ago as a repair project. I've now decided I need the space more than I need another bike so if anyone's interested in taking on a bit of a project, get in touch. Note that it's not rideable and will need both mechanical and electrical work, but the parts required are readily available online. It's not economically viable to pay a professional to do all the repairs so I suggest only those with either the skills in the relevant areas or the time and inclination to learn them take it on. I know the main controller is blown and will need to be replaced. There is a battery but I have no idea what condition it's in and there is no charger supplied (a suitable generic one should be easy enough to find).

Collection from Pendeen.