Added general structure and fixed bug in gitignore.