(refac) Moved endpoints into own modules
(refac) Matches logic grouped together
(chore) Updated gitignore