Pull log location into config, make config location more flexible
Removed unused imports and config reading