Update dependencies and code style, bump to 0.3.0