Added gitignore for mac generated files
Constructor and begin added