Implements EndlessMode

Closes #28