move loader to main folder