Initial Commit of battery manager