Discussion database concept and programming