added settings python file and flat file