Add ability to delete periods (issue #4)