Get accounts

Have implemented get account. Please review and merge.
Nope this is just a sample.