Created AccountType class for type safety

Removed static account types from the Account class and moved to
AccountType class for type safety.