Initial commit, port to Machinecoin