Updating license years
PEP8 and code clean up
Adding connection timeout