Fork of COSMOS Codeplex project (https://cosmos.codeplex.com)