First version of history commits

See the code if is ok to u