Commands as parsed functions
Refactor level factory