Clean project, add checkstyle and cobertura, some bugfix and correct the documentation.