fix code style, tests, add license, version, etc