Added initial links

Links are wrong, but I got the basic mechanism working. Need to refactor code into
functions and fix the links