Refactored Load, Added Config, Logging and Comments

Commented done code
Logging
Config File
Refactored Load