Add repository entity with codes autoload