Fixed issue with explicit cast failure

Fixed issue with scheduler helper using an explicit cast which was
failing and also cleaned up test project structure - added place holders
for code cleanup functions and tests.