Code  added for holding Exercise object in DB