Pushing version 0.5.0

pushing the updates from the last year to the head branch.