adds constructors for CPStatDay and CPVisit, implements visit creation in CPStatDay