version bump to 0.4.0, readme and changelog updated