Started implementing use of a request factory for creating request, to
make it easier to test.
Added pyflakes target to makefile.
Moved Connection classes to a separate module.