Updated architecture to use abstract base classes.

Return all tokens expiration time.
Removed unused methods.