Merge pull request #5 from FreekDB/master

Some minor changes to resolve a few warnings and a few code style issues.
Export made possible to multiple files.
Changed preliminary license to the Apache License version 2.0 (instead of the MIT license).