Some refactoring.
Merge branch 'master' of github.com:dohnto/CDP