Reads from databases, used jar config files if none found