Some minor changes/fixes in templates, update README and API doc, bump to 0.5.0