Added res directory and removed gen directory from gitignore.