trim directory
mv preseed.cfg to config file
data flow is ok, needs refactor