moving requires to main file