Fix: generalized with generics
Fix: gitignore added