Changed the organization of files a bit.
Added external link handling.