Renamed internal -> intern, and WIP improving exposure
Mass renaming exported symbols
Added target.h