added config file; some style changes