Hi Olalekan,
It is difficult to home brew an SMPS Battery charger, unless you are fully experienced with Switching Supplies.
you can Purchase a readymade SMPS 12V, Battery charger kit and use it, it is worth the investment, than trafo charger.
as suggested by Mvadu you have to use a...