Changed license, and code style