Initial code base (from Portable AForge.NET)