Controller class can now read commands from a file