Description of problem: Current catalog code include many bugzilla specific code which are not particular useful for hwcert certs. Those code were copied from old bugzilla code in the first place and make our catalog code in a messy state in terms of maintaining. Alos they make our code not easy to read and can potentially decrease the system performance. We need to find out those useless code and remove them from catalog code. Since there is a little possibility that the process may cripple catalog system, we should do it in a slow and incremental way. Now I open this bug as a tracker of code cleaning up process. The file we need to clean up are, but not limit to, cgi files, pm files and templates. We can open a separate bug for each specific file we need to clean up and block this tracker.