fixed import issues. now application path is ROOT. refactored candidateController. moved candidate classes in their own packages