Added logging config
Cleaned up search a little, made sure all python lines sticks to the 80 char limit