updated candidate and application entities, added wrapped mongo entities