It could be many things, we can't diagnose you here though. I do suggest you get a full physical to rule out any medical/neurological issues, then if you've got a clean bill of physical health, get a referral to a psychiatrist.
I suffer from anxiety and depression and until I was placed on the right meds for my diagnose, I had killer migraines 2+times a week. I since found out there were caused by my psychological issues. I still get 2 or so a month, but they are hormonally induced.
Especially with your rages and memory issues, the sooner you get help, the better.
Hang in there.
I am not a doctor, but your symtoms sound like it might be from either depression or from bp. Either can cause the memory loss that you are experiencing and the other symtoms. It is best for you to seek a doctor who specializes in mental health and have them evaluate you. That may shed some light on what is wrong. Good luck