Completed all but the edit function. Need sleep.