Added bugherd to admin and sree frontend and re-arranged the bugherd code.