Extracted Manager and Command structures into separate files.