added common.cfg reader & updated constants