was wondering if anyone know of a walkthrough on the internet or could explain to me what i should do for a "perfect" game
A "perfect" game is what you define as perfect. All the endings have their good and bad points, and what's good for one faction or person may be bad for another.
was wondering what missions i should do first to get both major factions friendly i realize at some point ill have to decide only one i find it just frustrating when i kill someone and fail a mission i know nothing about
You can't get all the major factions friendly. You have to choose one or the other. Plus, most of the big faction quests involve you killing members of the rival faction.
also is it possible to work for both factions at one until a certain point?
Sort of. That certain point comes up very soon.
from what im guessing i can do most the ncr missions early until i obtain the chip then wont ceasers leagion forget me of everything?
Correct.
also the quest with the spy in mccarrin to successfully not have the monorail blow up i have to stealthboy in listen to the spy talking leave defuse the bomb then go back?
Stealthboy -> sneak into building -> listen to radio report -> pick pocket disarm codes -> disarm bomb -> tell Colonel Hsu who the traitor is.