Move some functions into util
Separate OS specific part for interface info
Collect at once
Sleep
Implement interface info for windows