Queue factory 2

Add getQueueFactory method to Account.java