Removed duplicated code from andlearn.

Also linked the two via the navigation.