Added LinkAction.java

This file controls the links action