Added license and gitignore
Revert "Added license and gitignore"

This reverts commit 149afc031aa54851bff7bbc267f681f6cb64b30f.
Added existing code