Added methods to main library class for managing accounts.