repalce deprecated GLOBAL with SHARED in calcmvc demo application