Refactor period into object
Configure deploy