moved some files around, trying to make isomorphic require work better

didn’t really succeed at making require work any better, still a bunch
of conditional code every time I want to require something.