adding package.json, gitignore, switching to MIT license, adding first version of logic file