New command handler that handles commands in a bit more organized fashion