Initial code service interface.
Fix findbugs and pmd whinning.