First pass at samplefile and config controllers