Adding files from version 0.4

At this point works on Windows and Mac (not tested in Ubuntu).