Move require out of class

This is good, right?