added conf file and basic implementation