generalized default ledger account creation and moved all settings to config file