Updated imports, reformatted code, and updated copyright