Functions File Structure additions & Widget creation