Renamed tests directories. Added API REST in cpedata model and tests