Created local cache for viewed database objects, cleaning up rendering
functions