fixed refresh

fixed refresh system
-got rid of unnecesary file and integrated its contents into more
appropriate file