Make configuration more consistent
Add gitignore
Rework endpoints to be more logical