Implemented link parsing mostly

Need to use parser state to load correct link identifiers.