Please do a search for "grid tie" be for continuing!
Connecting to the main power grid is VERY dangerous and can void you home insurance if not done right.
There were some very good posts on this subject within the last two month, please review them.
Etech