moved configuration into own package
calculate sleep times more smart