Add gitignore, lib and test folder