Add filesystem commands and new PoC modules

This commit also refactors some of the code.
Refactor away leftover get_rdymsg
Remove newline from end_job to conform to spec
Replace magic numbers with constants
Refactor commands for modularity
Move {begin,end}_job from libs to modules
Make the module output prettier