Implemented token to restore "session"
Renamed classes (session -> token)