Do you have a plunge router and a top bearing flush edge plunge bit? You can get a battery box routing template and a battery box.
If not, here are links to those things. I linked the el cheapo versions which work for just 1 job.
Router
Router Bit
Battery box template
Battery Box