Initial commit with source code for v0.4.0