Make linkactions into its own module

Makes reuse easier
Change-Id: I8a6595594909e58af2e6f2df831ca5c3ac8aaefd
Merge "Make linkactions into its own module"