Removed trailing spaces
Added factory method for frequency
Delete trailing spaces
Added schedulers lookup