Initial check-in, this is the code as downloaded from mloss, version 0.5.