Add license, random spacing, clean up