Created battery struct
Properly handling SIGINT so we can cleanup