Chart of Accounts

Can anyone tell me how to create chart of accounts, vendor accounts and customer accounts in an excel file in microsoft dynamics ax 2009 and also the complete procedure of importing the opening balance for the first time in microsoft dynamics ax 2009