adding gitignore
refactoring titan code