Restructure js and test folders

Tests still pass, so I'm assuming I did it right. Moved core into root and subroutes into subroutes folder. I feel like it's a lot more readable. The only core folder remaining is at the application root level because I felt like putting admin/users in a subroutes folder was more annoying than helpful.