Revision of Popup and Util

Revised Popup and added todo list, added methods to Util but still need
to work out the core.js structure/dominating pattern