You are in way over your head, I don't intend to sound rude however if you had the knowledge to do this safely and successfully you would not be asking many of these questions. SMPS design is a rather advanced topic and you will need to be proficient at all the underlying concepts. If you don't get everything just right, they have a tendency to blow up instantly when power is applied, or if they work they may be spewing copious amounts of RF hash and knocking out radio or TV reception. You are asking someone to explain to you how to fly a 787 when you have never flown a Cessna or drive a Ferrari when you have never driven a basic passenger car.
Start reading every application note and textbook you can find on the subject, study existing designs, eventually you will get there but it's not easy.