Add code style, apply formatter. Update build script and code structure.