project layout restructured, pep8 errors fixed also with minor refactorings
refactored tests and used mock lib when required
Merge pull request #1 from kadirpekel/master

Convenient improvements