dumping version to 0.5.1, history entry and more notes in the code