Made the accounts repository a little more dynamic