Re-work of how variables are stored and accessed

(Also added some news-related stuff)