Created of a separate class Transactiontype

Refactored code - created a seperate class for getting setting
TransactionType for typesafety. It shall contain all the possible types
of transactions a bank shall have. Just like an account type