Added program config, first database usage