Add filesystem commands and new PoC modules

This commit also refactors some of the code.
Refactor away leftover and redundant get_rdymsg
Remove newline from end_job to conform to spec
Replace magic numbers with constants