Conversion to PCL

Converted the single .NET 4.5 version into PCL version. #16