Move clock to below scheduler
Move test entity to test package
Fix unit testing
Provide basic MemoQuery library infrastructure. Still completely
infunctional:)