make it so that main.js loads last, add scss and js ordering comments, move more stuff to core