Improve period handling
Move coord categorization to period classes
issue