new controller class for development testing, updated files to support various linktypes