refactoring paths
pep8
pep8 and path refactoring
adding some mini tests for calibration