Header file

Included link.h, moved definitions