Move most console commands to other files