Add gitignore
Fix errors
Fix handlers and add formatter