refactor and extend api
include end date to days period
test
include end date to months period
test
refactor
add tests of SchedulerFactory
refactor
fix days importing bug