Global modularisation and generalisation
only rendering paragraphs if of a valid interface.
reverting sugegstion interface to working version.
naming change for DB interface and cleaning global definition file.