fix linty whitespaces and add LICENSE.txt