shell commands directly call krn functions. this makes more sense to me after thinking about it more
moved scheduler to separate js file and made it an object