Core Source code for MetraNet