Add config file to configure database with different environments. Load lib folder to use require instead of require_relative