udpated and moved files for initial loop