Split load values logic to seperate file