Added validation to buysell. Added new Configuration table along with getConfig function in dbw class.