Migrate new account code into self contained directive.
Merge pull request #8 from begizi/enhance_adding_account

Migrate new account code into self contained directive.