Remove unneded code.
part of #68
Various fixes according to PMD.
part of #70.
Make output nicer with better colors.
closes #73.