ported from c++/cli to native c++

By switching to native c++, project now has cross-platform support