initial commit, all the terrible code