Remove unused resources.
Fix comments.
Support maven deploy.