Added gitignore
Reorganized files and added a configured example.