Initial commit.
Forked from: https://powerorion.codeplex.com/SourceControl/changeset/93991fe95d91a92c6655c029950754eed02fcd51