pis i need help in constructing a 12v reachargeable lamp with a relay to switch between mains when connected and battery.