created basic index searching command and the core structure for a file-putting command