init .gitignore and add sources with unmanaged_lib