Clean up require paths
Get tests passing
Log when sleeping
Move config lookup into a dedicated method. Use module_function to define class methods
Use module_function to define class methods. Fix path lookup