Automated the linking and installation process. resolve #2 and close #3