Move main requires to one place